package com.zx.stock.common;

import java.util.HashMap;
import java.util.Map;

public interface Const {
	
	String Y = "y"; //可用
	String N = "n"; //禁用
	String F = "f"; //完成
	String S = "s"; //成功
	String SESSION_KEY = "session_user_key";
	String SESSION_SN = "sn";

	String UTF8 = "utf-8";

	String CACHE_HOST_KEY = "host_list";

	//终端机器
	String USER_AGENT = "Mozilla/5.0 (X11; Linux armv7l; rv:10.0.11) Gecko/20100101 Firefox/10.0.11";

	//状态类型
    String ENABLE = "1"; //启用
	String DISABLE = "0"; //禁用

	//连接状态
	String SERVICE_STATUS_UNKONW = "0";//未连接
	String SERVICE_STATUS_CONNECT = "1";//已连接
	String SERVICE_STATUS_FAILED = "2";//已连接


	String DOMAIN_LOCAL = "local";

	/** 超级管理员ID */
	int SUPER_ADMIN = 1;
	String SUPER_NAME = "admin";

	//显示状态
	String CACHE_INSTALL_KEY = "cacheInstallKey";


	//系统类型
	Map<String,String> systeomOsMap =new HashMap<String, String>() {
		{
			put("other", "unspecified OS");//新浪新闻
			put("wxp", "Microsoft Windows XP");//网易新闻
			put("w2k", "Microsoft Windows 2000");//腾讯新闻
			put("w2k3", "Microsoft Windows 2003");//百度新闻
			put("w2k8", "Microsoft Windows 2008");//凤凰网
			put("wvista", "Microsoft Windows Vista");//凤凰网
			put("win7", "Microsoft Windows 7");//凤凰网
			put("win8", "Microsoft Windows 8");//凤凰网
			put("win10", "Microsoft Windows 10");//凤凰网
			put("l24", "Linux 2.4 Kernel");//凤凰网
			put("l26", "Linux 2.6 - 5.X Kernel");//凤凰网
			put("solaris", "Solaris/OpenSolaris/OpenIndiania kernel");//凤凰网
		}
	};
}
